package sch.frog.behavioral.memento;

public class Memento {

    private final double money;

    private final int status;

    public Memento(double money, int status) {
        this.money = money;
        this.status = status;
    }

    // 窄接口
    double getMoney() {
        return money;
    }

    // 宽接口
    public int getStatus() {
        return status;
    }
}
